package com.scut.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scut.campus.dto.LostDto;
import com.scut.campus.dto.LostUpdateDto;
import com.scut.campus.dto.PageDTO;
import com.scut.campus.entity.Lost;
import com.scut.campus.query.LostQuery;
import com.scut.campus.query.base.PageQuery;
import org.springframework.stereotype.Service;

@Service
public interface LostService extends IService<Lost> {
    void insertLost(LostDto lostDto);

    void updateLost(LostUpdateDto lostDto);

    PageDTO<Lost> queryMyLost(PageQuery pageQuery);

    PageDTO<Lost> listLost(LostQuery lostQuery);

    Lost getOneById(Long lostId);
}
